package com.power.project.model.vo.feignvo;


import com.power.project.model.Ww_usertag;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 标签人员关系实体类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TagUser {

    @ApiModelProperty(value = "corpid_wwuserid_tagid")
    private String id;

    @ApiModelProperty(value = "人员id")
    private String wwuserid;

    @ApiModelProperty(value = "标签id")
    private String tagid;

    @ApiModelProperty(value = "企业id")
    private String corpid;

    public TagUser(Ww_usertag tagUser) {
        this.id = tagUser.getId().toString();
        this.wwuserid = tagUser.getWwuserid();
        this.tagid = tagUser.getTagid();
        this.corpid = tagUser.getTenantid();
    }
}